<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>课程管理系统</title>
    <link rel="shortcut icon" href="favicon.ico"/>
    <link rel="bookmark" href="favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="../../easyui/css/default.css"/>
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/icon.css"/>
    <script type="text/javascript" src="../../easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../../easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src='../../easyui/js/outlook2.js'></script>
    <script type="text/javascript">
        var _menus = {
            "menus": [
                <c:if test="${usertype==1}">
                {
                    "menuid": "4", "icon": "", "menuname": "课程管理",
                    "menus": [
//                        {"menuid": "41", "menuname": "毕业学生列表", "icon": "icon-user-student", "url": "../student/list"},
//                        {"menuid": "21", "menuname": "年级列表", "icon": "icon-world", "url": "../grade/list"},
//                        {"menuid": "31", "menuname": "班级列表", "icon": "icon-house", "url": "../clazz/list"},
//                        {"menuid": "51", "menuname": "毕业时间添加", "icon": "icon-house", "url": "../gradeyear/list"},
//                        {"menuid": "61", "menuname": "毕业生通讯录", "icon": "icon-house", "url": "../gradestudent/list"},
//                        {"menuid": "71", "menuname": "毕业生报表", "icon": "icon-house", "url": "../gradestudent/report"},
                        {"menuid": "81", "menuname": "课程管理员信息表", "icon": "icon-house", "url": "../manager2/list"},
                        {"menuid": "211", "menuname": "测试选课列表", "icon": "icon-world", "url": "../selects/list"},
                        {"menuid": "91", "menuname": "学生列表", "icon": "icon-world", "url": "../student1/list"},
                        {"menuid": "111", "menuname": "教师列表", "icon": "icon-world", "url": "../teacher/list"},
                        {"menuid": "101", "menuname": "课程列表", "icon": "icon-world", "url": "../course/list"},
                        {"menuid": "121", "menuname": "成绩列表", "icon": "icon-world", "url": "../grade1/list"},
                    ]
                },
                {
                    "menuid": "1", "icon": "", "menuname": "系统用户管理",
                    "menus": [
                        {"menuid": "11", "menuname": "用户列表", "icon": "icon-user-teacher", "url": "../user/list"}

                    ]
                },
                </c:if>
                <c:if test="${usertype!=1}">
                {
                    "menuid": "3", "icon": "", "menuname": "毕业生信息查看",
                    "menus": [
                        {"menuid": "41", "menuname": "个人信息", "icon": "icon-user-student", "url": "../student/list"},
                        {"menuid": "11", "menuname": "班级通讯录", "icon": "icon-user-teacher", "url": "../student/classlist"}
                    ]
                },
                </c:if>
            ]
        };


    </script>

</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
<noscript>
    <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
        <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！'/>
    </div>
</noscript>
<div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
        background: #7f99be;
        line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
    <span style="float:right; padding-right:20px;" class="head"><span
            style="color:red; font-weight:bold;">${user.username}&nbsp;</span>您好&nbsp;&nbsp;&nbsp;<a href="/system/out"
                                                                                                     id="loginOut">安全退出</a></span>
    <span style="padding-left:10px; font-size: 16px; ">课程管理系统</span>
</div>
<div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
    <div class="footer">Copyright &copy; 课程管理系统</div>
</div>
<div region="west" hide="true" split="true" title="导航菜单" style="width:180px;" id="west">
    <div id="nav" class="easyui-accordion" fit="true" border="false">
        <!--  导航内容 -->
    </div>

</div>
<div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
    <div id="tabs" class="easyui-tabs" fit="true" border="false">
        <jsp:include page="/WEB-INF/views/system/welcome.jsp"/>
    </div>
</div>

</body>
</html>